package com.qingke.ocr.dao;

import java.util.List;

import com.qingke.ocr.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User user);

    User selectByPrimaryKey(Integer id);
    
    List<User> selectAll();
    
    List<User> selectByUserName(User user);
    
    List<User> selectByUsernameAndPassword(User user);
    
    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);
}
